package com.scpii.universal.pns.entity;

import java.sql.Timestamp;

/**
 * EcOrderDetails entity. @author MyEclipse Persistence Tools
 */

public class EcOrderDetails implements java.io.Serializable {

	// Fields

	private static final long serialVersionUID = -6830922501441020253L;
	private Long id;
	private Long appId;
	private Long orderId;
	private Long productId;
	private Integer quantity;
	private String productName;
	private String productSn;
	private Double price;
	private Double listPrice;
	private Double priceAmount;
	private String note;
	private Timestamp createDt;
	private String createBy;
	private Timestamp updateDt;
	private String updateBy;

	// Constructors

	/** default constructor */
	public EcOrderDetails() {
	}

	/** minimal constructor */
	public EcOrderDetails(Long appId, Long orderId, Long productId,
			Integer quantity) {
		this.appId = appId;
		this.orderId = orderId;
		this.productId = productId;
		this.quantity = quantity;
	}

	/** full constructor */
	public EcOrderDetails(Long appId, Long orderId, Long productId,
			Integer quantity, String productName, String productSn,
			Double price, Double listPrice, Double priceAmount, String note,
			Timestamp createDt, String createBy, Timestamp updateDt,
			String updateBy) {
		this.appId = appId;
		this.orderId = orderId;
		this.productId = productId;
		this.quantity = quantity;
		this.productName = productName;
		this.productSn = productSn;
		this.price = price;
		this.listPrice = listPrice;
		this.priceAmount = priceAmount;
		this.note = note;
		this.createDt = createDt;
		this.createBy = createBy;
		this.updateDt = updateDt;
		this.updateBy = updateBy;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getAppId() {
		return this.appId;
	}

	public void setAppId(Long appId) {
		this.appId = appId;
	}

	public Long getOrderId() {
		return this.orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	public Long getProductId() {
		return this.productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public Integer getQuantity() {
		return this.quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public String getProductName() {
		return this.productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getProductSn() {
		return this.productSn;
	}

	public void setProductSn(String productSn) {
		this.productSn = productSn;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Double getListPrice() {
		return this.listPrice;
	}

	public void setListPrice(Double listPrice) {
		this.listPrice = listPrice;
	}

	public Double getPriceAmount() {
		return this.priceAmount;
	}

	public void setPriceAmount(Double priceAmount) {
		this.priceAmount = priceAmount;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public Timestamp getCreateDt() {
		return this.createDt;
	}

	public void setCreateDt(Timestamp createDt) {
		this.createDt = createDt;
	}

	public String getCreateBy() {
		return this.createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public Timestamp getUpdateDt() {
		return this.updateDt;
	}

	public void setUpdateDt(Timestamp updateDt) {
		this.updateDt = updateDt;
	}

	public String getUpdateBy() {
		return this.updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

}